package com.yydream.vo;

import com.yydream.entity.SysRoleEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SysUserPageVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "用户id",notes = "")
    private Long id ;

    @ApiModelProperty(name = "用户名称",notes = "")
    private String username ;

    @ApiModelProperty(name = "电话",notes = "")
    private String phone ;

    @ApiModelProperty(name = "头像",notes = "")
    private String avatar ;

    @ApiModelProperty(name = "昵称",notes = "")
    private String nickname ;

    @ApiModelProperty(name = "性别",notes = "（1：男，2：女）")
    private Integer sex ;

    @ApiModelProperty(name = "状态",notes = "（1：启用，2：禁用）")
    private Integer state ;

    @ApiModelProperty(name = "角色集合",notes = "")
    private List<SysRoleEntity> roleList ;


}
